package me.itsoo.artemis.framework.core.lang;

import java.lang.annotation.Annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * AliasFor
 *
 * @author zxy
 * @version 0.0.1
 * @since 2023/5/6
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface AliasFor {

    /**
     * 给哪个注解赋值
     *
     * @return Class of Annotation
     */
    Class<? extends Annotation> value();

    /**
     * 给那个属性赋值
     *
     * @return String
     */
    String attribute() default "";

}
